home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SPACE 1
/
SPACE - Library 1 - Volume 1.iso
/
program
/
16
/
memory.map
< prev
next >
Wrap
Text File
|
1985-11-19
|
1KB
|
50 lines
Forthmacs Memory Map
Addresses shown are approximate and were found on a 512K 520ST
with TOS in ROM, and no desk accessories loaded. All addresses are
in hex.
Top of Memory
Used by TOS
( 78000 ) ( for a 512K system )
Memory available for Emacs and other TOS programs executed by EXEC
memtop @ ( 60000 ) ( does not depend on the memory size )
Forth stacks and terminal input buffer
sp0 @ ps-size - ( 5fce0 )
Memory allocated by alloc-mem; used for file buffers, etc
next-free-mem @ ( 5c350 )
Memory available for allocation with alloc-mem (grows down)
Memory available for expanding the dictionary (grows up)
here ( 21ab4 )
Forth dictionary
origin ( 0ecce )
Base page
base-page ( 0ebce ) ( this address depends on a lot of things )
Used by TOS
Bottom of Memory
orth
up@ link ! \ point the current task to itself
: local (s task-base user-var-addr -- user-var-addr-in-tasks-sp